package actiontiktokcasemysql

const (
	ActionObserveNoUp    = 0 //未上架
	ActionObserveUp      = 1 //上架
	ActionObserveDownUp  = 2 //下架
	ActionObserveCloseUp = 3 //结束
)

type ActionObserveUpCases struct {
}

var ActionObserveUpCasesObject ActionObserveUpCases

func (e ActionObserveUpCases) Tags() []int {
	return []int{
		ActionObserveNoUp,
		ActionObserveUp,
		ActionObserveDownUp,
		ActionObserveCloseUp,
	}
}

func (e ActionObserveUpCases) TagsMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.Tags() {
		m[s] = s
	}
	return m
}
